package com.flyoil.petromp.entity.entity_me;

import com.flyoil.petromp.base.BaseEntity;

/**
 * Created by songzhiyin on 2017/11/9.
 * 用户信息的实体类
 */

public class UserMessageEntity extends BaseEntity {

    /**
     * data : {"username":"Android","phone":"18332551234","userNumber":"0001","avatar":"/file/4d0a90aa0a4c418a9d14e5653c27823e/imageusericonhead.jpg","signature":"/file/a3f502df3a634461af18d8ef77114bc5/imageusericonsignature.jpg","reallyName":"??","roleId":1,"position":"??","professionalTitle":"??","professionalRank":"T6","jobDescription":"????","directSuperior":"??","officePosition":"??","office":"???","officePhone":"18332551234","email":"118@qq.com","status":"??","userId":1,"genderLabel":"男","departmentName":"技术部"}
     */

    private DataBean data;

    public DataBean getData() {
        return data;
    }

    public void setData(DataBean data) {
        this.data = data;
    }

    public static class DataBean {
        /**
         * username : Android
         * phone : 18332551234
         * userNumber : 0001
         * avatar : /file/4d0a90aa0a4c418a9d14e5653c27823e/imageusericonhead.jpg
         * signature : /file/a3f502df3a634461af18d8ef77114bc5/imageusericonsignature.jpg
         * reallyName : ??
         * roleId : 1
         * position : ??
         * professionalTitle : ??
         * professionalRank : T6
         * jobDescription : ????
         * directSuperior : ??
         * officePosition : ??
         * office : ???
         * officePhone : 18332551234
         * email : 118@qq.com
         * status : ??
         * userId : 1
         * genderLabel : 男
         * departmentName : 技术部
         */

        private String username;
        private String phone;
        private String userNumber;
        private String avatar;
        private String signature;
        private String reallyName;
        private int roleId;
        private String position;
        private String professionalTitle;
        private String professionalRank;
        private String jobDescription;
        private String directSuperior;
        private String officePosition;
        private String office;
        private String officePhone;
        private String email;
        private String status;
        private int userId;
        private int companyId=-1;
        private String genderLabel;
        private String departmentName;

        public int getCompanyId() {
            return companyId;
        }

        public void setCompanyId(int companyId) {
            this.companyId = companyId;
        }

        public String getUsername() {
            return username;
        }

        public void setUsername(String username) {
            this.username = username;
        }

        public String getPhone() {
            return phone;
        }

        public void setPhone(String phone) {
            this.phone = phone;
        }

        public String getUserNumber() {
            return userNumber;
        }

        public void setUserNumber(String userNumber) {
            this.userNumber = userNumber;
        }

        public String getAvatar() {
            return avatar;
        }

        public void setAvatar(String avatar) {
            this.avatar = avatar;
        }

        public String getSignature() {
            return signature;
        }

        public void setSignature(String signature) {
            this.signature = signature;
        }

        public String getReallyName() {
            return reallyName;
        }

        public void setReallyName(String reallyName) {
            this.reallyName = reallyName;
        }

        public int getRoleId() {
            return roleId;
        }

        public void setRoleId(int roleId) {
            this.roleId = roleId;
        }

        public String getPosition() {
            return position;
        }

        public void setPosition(String position) {
            this.position = position;
        }

        public String getProfessionalTitle() {
            return professionalTitle;
        }

        public void setProfessionalTitle(String professionalTitle) {
            this.professionalTitle = professionalTitle;
        }

        public String getProfessionalRank() {
            return professionalRank;
        }

        public void setProfessionalRank(String professionalRank) {
            this.professionalRank = professionalRank;
        }

        public String getJobDescription() {
            return jobDescription;
        }

        public void setJobDescription(String jobDescription) {
            this.jobDescription = jobDescription;
        }

        public String getDirectSuperior() {
            return directSuperior;
        }

        public void setDirectSuperior(String directSuperior) {
            this.directSuperior = directSuperior;
        }

        public String getOfficePosition() {
            return officePosition;
        }

        public void setOfficePosition(String officePosition) {
            this.officePosition = officePosition;
        }

        public String getOffice() {
            return office;
        }

        public void setOffice(String office) {
            this.office = office;
        }

        public String getOfficePhone() {
            return officePhone;
        }

        public void setOfficePhone(String officePhone) {
            this.officePhone = officePhone;
        }

        public String getEmail() {
            return email;
        }

        public void setEmail(String email) {
            this.email = email;
        }

        public String getStatus() {
            return status;
        }

        public void setStatus(String status) {
            this.status = status;
        }

        public int getUserId() {
            return userId;
        }

        public void setUserId(int userId) {
            this.userId = userId;
        }

        public String getGenderLabel() {
            return genderLabel;
        }

        public void setGenderLabel(String genderLabel) {
            this.genderLabel = genderLabel;
        }

        public String getDepartmentName() {
            return departmentName;
        }

        public void setDepartmentName(String departmentName) {
            this.departmentName = departmentName;
        }
    }
}
